import {requestJson} from '../utils/request';
import request from '../utils/request';

//生产指标报警/当日报警查询
export async function ProDayQuery(params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/theAlarm',
        {
            method:'post',
            body:params
        }
    )
}
//生产指标报警/报警详情
export async function alarmParticulars(params) {
    return requestJson(
        '/hh-management-web/gnhj/alarm/alarmParticulars',
        {
            method:'post',
            body:params
        }
    )
}
//生产指标报警/历史报警查询
export async function ProHistoryQuery(params) {
    return requestJson(
        'hh-management-web/gnhj/alarm/historicalAlarm',
        {
            method:'post',
            body:params
        }
    )
}
//环保指标报警/当日报警查询
export async function getThisDayAlarmApp(params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicatalarm/getThisDayAlarmApp',
        {
            method:'post',
            body:params
        }
    )
}
//环保指标报警/历史报警查询
export async function getHistoryAlarm(params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicatalarm/getHistoryAlarm',
        {
            method:'post',
            body:params
        }
    )
}
//环保指标报警/报警详情
export async function getAlarmInformation(params) {
    return requestJson(
        '/hh-management-web/gnhj/environmentalindicatalarm/getAlarmInformation',
        {
            method:'post',
            body:params
        }
    )
}
